package com.syl.mapper;

import com.syl.entity.Emp;

import java.util.ArrayList;
import java.util.Map;

/**
 * @Classname empmepper
 * @Description
 * @Date 2025/8/8 19:20
 * @Created by SYL
 */


public interface EmpMapper {
    Emp findById(int id);

    int addEmp(Emp emp);

    Emp checkEmp(Map<String, String> emp);

    int updateEmp(Emp emp);

    ArrayList<Emp> allEmp();

    int delectEmp(int id);
}
